extends "../cTDA/cTDA.gd"
func _info():
	pass

func _connect():
	._connect()

func _extInit():
	._extInit()
	chaName = "海贼"
	lv = 2
	attCoe.atk = 20 / 8.5 * 2 / 2
	attCoe.maxHp = 640 / 112.5 / 2

	addSkillTxt("海上老手：所有伤害附加20%的魔法伤害")

var pw2 = 0.2
func _onAtkChara(atkinfo):
	if atkinfo.hitCha != self && atkinfo.atkType != Chara.AtkType.EFF && !atkinfo.isMiss:
		var dmg =atkinfo.hurtVal * pw2
		hurtChara(atkinfo.hitCha,dmg,Chara.HurtType.MGI,Chara.AtkType.EFF)
